package com.lening.community.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.community.dto.CommunityDto;
import com.lening.community.pojo.Building;
import com.lening.community.pojo.Community;
import com.lening.community.vo.CommunityVo;
import com.lening.community.vo.TableVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ToDo:
 * @Author：潘万法
 * @date: 2024/6/3 16:55
 */
public interface CommunityMapper extends BaseMapper<Community> {
    Page<Community> page(CommunityDto communityDto);

    List<TableVo> getAllComm();

    /**
     * 查询社区数量
     * @return
     */
    int getCount();

//    String add(Community community);
}
